package com.agent.repository;

import com.agent.entity.Dept;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by hg on 2019/1/25.
 */
@Repository
public interface DeptMapper {

    List<Dept> findOne(Map<String,String> paramMap);
    List<Dept> list(Dept dept);

    int insert(List<Dept> depts);

    int deleteBySystem();

    int delete(String id);

}
